import { Module } from '@nestjs/common';
import { BusinessService } from './business.service';
import { BusinessController } from './business.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
    Category, VCategorySurplus, Currency, ExchangeRate, FeeAudit, /* FeeAuditPlus, */ FeeCod, FeeCodMod, FeeDet, FeeEle, FeeEleLov, FeeMod, FeeModEle, FeeTyp,
    FeeTypCod, Invoice, InvoiceAuditPay, Pay, Protocol, ProtocolRat, VAudit, VAuditFeedet, VAuditGroup, VAuditInvoicePayDetail, VAuditInvoicePayGroup, VAuditPay, VFeedet,VYewuFeedet,
    VFeedetAuditInvoice, InvoiceAuditFeedet, VAuditInvoiceFeedetGroup, VAuditInvoiceFeedetDetail,
    VInvoice,
    VPay,
    VPreAuditInvoiceFeedet,
    VPreAuditInvoicePay,
    PrePay,
    InvoiceDetail,
    VCategoryDetail,
    FeeReportManager,
    FeeReportCfg,
    LeaseFeeReport,
    CfsFeeReport
} from './entities/business.entity';

@Module({
    imports: [TypeOrmModule.forFeature([FeeCod, Category, VCategorySurplus, VCategoryDetail, Currency, ExchangeRate, Pay, VPay, 
        PrePay, VPreAuditInvoicePay, FeeDet, FeeAudit, 
        /* FeeAuditPlus, */InvoiceAuditFeedet, 
        FeeEle, FeeEleLov, FeeMod, FeeModEle, Protocol, FeeCodMod, ProtocolRat, FeeTyp, FeeTypCod, VFeedet, VYewuFeedet, VPreAuditInvoiceFeedet, 
        VAuditPay, VAuditFeedet, VAudit, VAuditGroup, Invoice, InvoiceDetail, VInvoice, InvoiceAuditPay, VAuditInvoicePayGroup,
        VAuditInvoicePayDetail, VFeedetAuditInvoice,VAuditInvoiceFeedetGroup,VAuditInvoiceFeedetDetail, FeeReportManager, FeeReportCfg,
        LeaseFeeReport, CfsFeeReport
    ])],
    controllers: [BusinessController],
    providers: [BusinessService],
    exports: [BusinessService]
})
export class BusinessModule { }
